/* global part */

header {
    height: 80px;
    width: 100%;
    background-color: black;
}

section {
    width: 1100px;
    margin: 30px auto;
}

footer {
    height: 80px;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    background-color: black;
}

ul {
    margin: 0;
    padding: 0;
}

/* for traffic table (#table) */

td a:before {
    content: '<';
}

td a:after {
    content: '>';
}

td a {
    margin-left: 10px;
    font-size: 12px;
    color: #dd5862;
    cursor: pointer;
    width: 50px;
}

td a:hover {
    text-decoration: none;
}

#table td {
    width: 33%;
}

#changeTap {
    display: block;
    width: 100px;
    margin: 0 auto;
}

/* header part */

header p {
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    color: white;
    padding-left: 20px;
    vertical-align: center;
    letter-spacing: 2px;
}

/* switch part */

#topo {
    width: 100%;
    height: 100px;
    margin: 30px auto;
    background-color: #dd5862;
    position: relative;
    padding: 10px;
}

.node {
    display: inline-block;
    float: left;
    width: 20px; 
    height: 20px;
    background-color: white;
    margin: 10px;
}

.tap-port {
    background-color: green;
}

.my-focus {
    box-shadow: 0 0 10px 5px rgb(144, 237, 125);
}

#changeAlias {
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

/* operation part */

#operation {
    float: right;
}

.dropdown-menu a {
    cursor: pointer;
}

#flow-entry,
#more,
#lag-port,
#controller {
    display: none;
}

/* port part*/

.my-nav-tabs {
    width: 100%;
    list-style: none;
}

.my-nav-tabs li {
    display: inline-block;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #eef;
    cursor: pointer;
}

.my-nav-tabs .my-active {
    color: white;
    background-color: #dd5862;
}

.my-nav-tabs-div .my-non-active {
    display: none;
}

#pie {
    width: 100%;
    height: 400px;
}

#table {
    height: 100%;
}

#table caption {
    text-align: center;
    font-size: 18px;
}

select.form-control {
    width: 100px;
}

/* for LAG table (#lag-info) */

#lag-info caption {
    color: white;
    background-color: #dd5862;
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0;
    padding-left: 10px;
}

#lag-info td {
    width: 25%;
}

#lag-info button {
    margin-right: 10px;
}

/* flow entries part */

#flow-table caption {
    color: white;
    background-color: #dd5862;
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0;
    padding-left: 10px;
}

#flow-table td {
    width: 25%;
}

#flow-table button {
    margin-right: 10px;
}

/* footer part */

footer p {
    font-family: Helvetica, Sans-serif;
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    text-decoration: none;
    color: white;
}

/* others */

.switch {
    width: 80px;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: content-box;
}

.switch-container {
    position: relative;
    width: 200px;
    height: 30px;
}

.switch-container-on {
    margin-left: 0;
    transition: margin-left 0.5s ease;
}

.switch-container-off {
    margin-left: -50px;
    transition: margin-left 0.5s ease;
}

.switch-left {
    display: inline-block;
    width: 80px;
    height: 30px;
    font-weight: bold;
    color: white;
    /*color: rgb(26,188,156);*/
    line-height: 30px;
    border-radius: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    z-index: -10;
}

.switch-left-on {
    background-color: rgb(144, 237, 125);
    transition: background-color 0.5s ease;
}

.switch-left-off {
    background-color: rgb(189,195,199);
    transition: background-color 0.5s ease;
}

.switch-circle {
    position: absolute;
    left: 55px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    margin-top: 5px;
    z-index: 10;
}

.switch-circle-on {
    /*background-color: rgb(26,188,156);*/
    background-color: #eef;
    transition: background-color 0.5s ease;
}

.switch-circle-off {
    background-color: rgb(127,140,154);
    transition: background-color 0.5s ease;
}

.switch-right {
    position: absolute;
    left: 50px;
    display: inline-block;
    width: 80px;
    height: 30px;
    font-weight: bold;
    color: white;
    line-height: 30px;
    border-radius: 15px;
    padding-left: 35px;
    box-sizing: border-box;
    z-index: -10;
}

.switch-right-on {
    background-color: rgb(144, 237, 125);
    transition: background-color 0.5s ease;
}

.switch-right-off {
    background-color: rgb(189,195,199);
    transition: background-color 0.5s ease;
}

/* remove higcharts's logo */

.highcharts-credits {
    display: none;
}

input[checkbox] {
    background-color: red;
}